package com.zshan.clinic.database.dao;

import com.zshan.clinic.database.model.StockOrderPurchase;
import com.zshan.clinic.database.model.StockOrderPurchaseExample;
import com.zshan.clinic.mybatis.SuperMapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface StockOrderPurchaseMapper extends SuperMapper {
    long countByExample(StockOrderPurchaseExample example);

    int deleteByExample(StockOrderPurchaseExample example);

    int deleteByPrimaryKey(Long orderId);

    int insert(StockOrderPurchase row);

    int insertSelective(StockOrderPurchase row);

    List<StockOrderPurchase> selectByExample(StockOrderPurchaseExample example);

    StockOrderPurchase selectByPrimaryKey(Long orderId);

    int updateByExampleSelective(@Param("row") StockOrderPurchase row, @Param("example") StockOrderPurchaseExample example);

    int updateByExample(@Param("row") StockOrderPurchase row, @Param("example") StockOrderPurchaseExample example);

    int updateByPrimaryKeySelective(StockOrderPurchase row);

    int updateByPrimaryKey(StockOrderPurchase row);
}